package thesis.filesharing.web.viewmodel;

import java.util.Date;

import thesis.filesharing.model.Exercise;

public class ExerciseViewModel {
	
	private Exercise exercise;
	private Date uploadDate;
	
	public ExerciseViewModel() {
		
	}

	public ExerciseViewModel(Exercise exercise, Date uploadDate) {
		this.exercise = exercise;
		this.uploadDate = uploadDate;
	}

	public Exercise getExercise() {
		return exercise;
	}

	public void setExercise(Exercise exercise) {
		this.exercise = exercise;
	}

	public Date getUploadDate() {
		return uploadDate;
	}

	public void setUploadDate(Date uploadDate) {
		this.uploadDate = uploadDate;
	}
}
